import request from 'utils/request'
// 登录
export const getLogin = data =>
  request({
    url: '/v1_0/authorizations',
    method: 'post',
    data,
  })

// 获取用户信息
export const getUserInfo = () =>
  request({
    url: '/v1_0/user/profile',
    method: 'get',
  })
